<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>信息管理-夜读书</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="author" content="夜读书">
    <meta name="description" content="加入夜读书文化联盟，共同打造文化的产业盟国，让阅读无处不在。">
    <meta name="keywords" content="夜读书文化联盟，读书,阅读,小说,文学">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="{{ asset('/bootstrap-3.3.5-dist/css/bootstrap.min.css') }}">
    <link rel="stylesheet" href="{{ asset('/style/css/hangye.css') }}">
    <script src="{{ asset('/scripts/jquery/jquery-1.11.3.min.js') }}"></script>
    <script src="{{ asset('/bootstrap-3.3.5-dist/js/bootstrap.min.js') }}"></script>
</head>
<body>
    @include('hangye.include.uheader')
    <div id="detailc">
        @include('hangye.include.aside')
        <article class="main-article">
            <div class="fb"><span style="float:right;"><a href="{{url('u/hangye/chuban_fabuzengshu')}}">发布赠书活动</a></span></div>
            <div class="zslist">
                <div class="zsmain">
                @if(empty($zengshulists[0]))
                <div style="padding:80px 50px;font-size: 20px;">您还没有发布赠书活动...</div>
                @else
                @foreach($zengshulists as $zengshulist)                
                <div class="zslist">  
                <a href="{{url('hangye/chubanzengshuinfo/'.$zengshulist->id)}}" target="_blank">                  
                    <div class="">                        
                            <img class="zspic" style="width:100px;height:115px;" src="{{url($zengshulist->books->bimg)}}">                        
                        <div class="zsbiaoti" style="font-size: 18px;">
                            @if( mb_strlen($zengshulist->biaoti)>50 )
                            {{ mb_substr($zengshulist->biaoti, 0,50) }}...
                            @else
                            {{$zengshulist->biaoti}}
                            @endif
                        </div>                      
                    </div> 
                </a>
                <div class="labelem"><a href="{{url('u/hangye/chuban_editzengshu/'.$zengshulist->id)}}">编辑</a></div>               
                    <div class="" style="clear:both;"></div>
                </div>                
                @endforeach
                {!! $zengshulists->render() !!}
                @endif
            </div>
            </div>

        </article>
    </div>
    <div style="clear:both;"></div>    
    @include('hangye.include.footer')
</body>
</html>